package org.csu.jpetstore.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author huangzhangyan
 */
@Data
@TableName("line_item")
public class LineItem implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer lineItemId;
    private int orderId;
    private int lineNumber;
    private String itemId;
    private int quantity;
    private BigDecimal listPrice;

}
